<?php use_stylesheet('bootstrap.min.css') ?>
<?php use_stylesheet('bootstrap-responsive.min.css') ?>
<?php use_javascript('bootstrap.min.js') ?>

<center>
    <div class="well" style="width: 400px; margin-top: 30px;">
        <form method="post" action="<?php echo url_for('@sf_guard_signin') ?>">
            <?php echo $form->renderGlobalErrors() ?>
            <?php if (isset($form['_csrf_token'])): ?>
                <?php echo $form['_csrf_token']->render() ?> 
            <?php endif; ?>
            <table>
                <tbody>
                    <tr>
                        <td>
                            <label>Nombre de Usuario</label>
                            <?php echo $form['username'] ?>
                            <?php echo $form['username']->renderError() ?>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label>Contraseña</label>
                            <?php echo $form['password'] ?>
                            <?php echo $form['password']->renderError() ?>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <?php echo $form['remember']->render(array('style' => 'margin-top: -2px;')) ?>&nbsp;
                            <label style="display: inline;">Recordarme</label>
                        </td>
                    </tr>
                </tbody>
                <tfoot>
                    <tr>
                        <td><input type="submit" class="btn pull-right" value="Ingresar" /></td>
                    </tr>
                </tfoot>
            </table>
        </form>
    </div>
</center>